package com.cxj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cxj.domain.Admin;
import com.cxj.vo.User;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 宋小帅和李小美的computer
 * @description 针对表【admin(用户信息表)】的数据库操作Service
 * @createDate 2025-01-12 19:02:01
 */
public interface AdminService extends IService<Admin> {
    Boolean login(@RequestParam String userName, @RequestParam String passWord);

    //依据用户名称查询用户信息
    User SelectUserByUserName(@RequestParam String Name);

    //用户注册
    String insertNewUser(@RequestParam String Name , @RequestParam String passWord , @RequestParam String userName);
}
